package com.caipin.domain.web;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:56
 * @Description: TODO
 */
public class TemperatureInfo2 {
    private int total;

    private int normal;

    private int abnormal;

    @JsonProperty("list")
    private List<Bean> beanList;

    public com.caipin.domain.web.TemperatureInfo2 setTotal(int total) {
        this.total = total;
        return this;
    }

    public com.caipin.domain.web.TemperatureInfo2 setNormal(int normal) {
        this.normal = normal;
        return this;
    }

    public com.caipin.domain.web.TemperatureInfo2 setAbnormal(int abnormal) {
        this.abnormal = abnormal;
        return this;
    }

    @JsonProperty("list")
    public com.caipin.domain.web.TemperatureInfo2 setBeanList(List<Bean> beanList) {
        this.beanList = beanList;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.web.TemperatureInfo2))
            return false;
        com.caipin.domain.web.TemperatureInfo2 other = (com.caipin.domain.web.TemperatureInfo2)o;
        if (!other.canEqual(this))
            return false;
        if (getTotal() != other.getTotal())
            return false;
        if (getNormal() != other.getNormal())
            return false;
        if (getAbnormal() != other.getAbnormal())
            return false;
        Object<Bean> this$beanList = (Object<Bean>)getBeanList(), other$beanList = (Object<Bean>)other.getBeanList();
        return !((this$beanList == null) ? (other$beanList != null) : !this$beanList.equals(other$beanList));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.web.TemperatureInfo2;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        result = result * 59 + getTotal();
        result = result * 59 + getNormal();
        result = result * 59 + getAbnormal();
        Object<Bean> $beanList = (Object<Bean>)getBeanList();
        return result * 59 + (($beanList == null) ? 43 : $beanList.hashCode());
    }

    public String toString() {
        return "TemperatureInfo2(total=" + getTotal() + ", normal=" + getNormal() + ", abnormal=" + getAbnormal() + ", beanList=" + getBeanList() + ")";
    }

    public int getTotal() {
        return this.total;
    }

    public int getNormal() {
        return this.normal;
    }

    public int getAbnormal() {
        return this.abnormal;
    }

    public List<Bean> getBeanList() {
        return this.beanList;
    }
}

